package com.manage.config.model;

import java.io.File;

public class Config {

	/**
	 * 用户session
	 */
	public final static String USER_SESSION = "user";

	/**
	 * 成功状态
	 */
	public final static int SUCCESS = 1;

	/**
	 * 失败状态
	 */
	public final static int FAILE = 0;

	public final static int SESSION_ERROR = 2;

	public final static String SUCCESS_MSG = "操作成功";

	public final static String ERROR_MSG = "操作失败";

	public final static String USER_ERROR_MSG = "用户名或密码错误。";
	
	public final static String USER_OFF_MSG = "该用户已注销";

	public final static String REPEAT_NAME = "名称重复，请重新输入";

	public final static String SESSION_ERROR_MSG = "session超时，请重新登陆。";

	// public final static String IMG_PATH = "/carfee/works/images";
	public final static String IMG_PATH = "images";
	
	public final static String ADVERT_PATH = "images/advert";
	
	public final static String HTTP_TITLE = "http://";
	
	public final static String ARTTICLE_IMAGE_PATH = File.separator+"images"+File.separator+"article"+File.separator;
	
	public final static String ARTTICLE_FILE_PATH = File.separator+"file"+File.separator+"article"+File.separator;
	
	public final static String ARTTICLE_IMAGE_HTTP = "/images/article/";
	
	public final static String ARTTICLE_FILE_HTTP = "/file/article/";
	
	public final static String ACTIVITY_IMAGE_PATH = File.separator+"images"+File.separator+"activity"+File.separator;
	
	public final static String ACTIVITY_IMAGE_HTTP = "/images/activity/";
	
	public final static String CHILDRENBOOKS_IMAGE_PATH = File.separator+"images"+File.separator+"childrenbooks"+File.separator;
	
	public final static String CHILDRENBOOKS_IMAGE_HTTP = "/images/childrenbooks/";
	
	public final static String EXCEL_FILE_PATH = File.separator+"excel"+File.separator;

	public final static String ROOT_URL = "http://127.0.0.1:8080/";

	public final static String QRCODE_URL = "http://192.168.253.25:8080/account/bindDiscountCoupon";

	public final static String QRCODE_KEY = "discount_id";

	public final static String QRCODE_TYPE_NAME = "qrcode_type";

	public final static int QRCODE_TYPE_DISCOUNT = 1;

	public final static String QRCODE_IOCN = "/qrcode/icon/app_icon.png";

	public final static String QRCODE_PATH = "/qrcode/";

	public final static String QRCODE_RELATIVE = "..";

	public final static String QRCODE_TYPE = ".JPG";

	public final static String ADMIN_URL = "html/admin.html";

	public final static String USER_REGISTER_URL = "html/register_merchant.html";

	public final static String WAITING_MERCHANT_URL = "html/waiting_merchant.html";

	public final static String USER_URL = "html/index.html";

	public final static String ADMIN_USER = "admin";

	public final static int AUDIT_PASS = 1;

	public final static int AUDIT_WAIT = 0;

	public final static int LIVE_STATUS_YES = 1;

	public final static int LIVE_STATUS_NO = 0;

	public final static String MERCHANT_CORPORATION_ERROR = "商户所属公司有误";

	public final static String COLOUR_IMG_NAME_ALL = "全部颜色";

	public final static String JPUSH_TAG = "flashpay";

	public final static String JPUSH_APPKEY = "8ef8cd34057d730ed2748598";

	public final static String JPUSH_MASTERSECRET = "8651b6c8b5f3d658333ebc8b";

	public final static String PUSH_ERROR_MESG = "推送消息失败";

	// 商品状态：未完成
	public final static int COMMODITY_UNDONE = 0;

	// 商品状态：审核未通过
	public final static int COMMODITY_UNPASS = 1;

	// 商品状态：审核通过
	public final static int COMMODITY_PASS = 2;

	// 商品状态：未审核
	public final static int COMMODITY_UNAUDIT = 3;

	// 商品状态：已下架
	public final static int COMMODITY_UNAVAILABLE = 4;
	
	// 借书单审核通过
	public final static String LOANORDER_PASS = "100";
	
	// 借书单快递员更新了快递信息
	public final static String LOANORDER_EXPRESS = "101";
	
	// 还书单快递员更新了快递信息
	public final static String RETURNORDER_EXPRESS = "102";
	
	// 借书单状态：1
	public final static int LOANORDER_TYPE = 1;
	
	// 还书单状态：1
	public final static int RETURNORDER_TYPE = 2;
	
	// 还书单确认状态：996
	public final static String ORDER_RETURN = "996";
	
	// 还书单初始状态：997
	public final static String ORDER_FOR_RETURN = "997";
	
	// 借书单确认初始状态（待审核订单）：998
	public final static String ORDER_LOAN = "998";
	
	// 借书单确认完成（用户收到书）：999
	public final static String ORDER_LOAN_FINISH = "999";
	
}
